package com.be.beadmin.project.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 计划阶段子表
 * @author: Jiaming Zheng
 * @Date: Create in 22:40 2023/6/17
 * @Modified By:
 **/
@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Table(name="T_PM_PlanStage")
public class PlanStage extends BaseEntity {

    @Column(name = "PlanId",columnDefinition = "VARCHAR(50) COMMENT '计划id'")
    private String planId;

    @Column(name = "StageName",columnDefinition = "VARCHAR(50) COMMENT '阶段名称'")
    private String stageName;

    @Column(name = "StageSort",columnDefinition = "int COMMENT '阶段排序'")
    private Integer stageSort;
    @Column(name = "StageStartTime", columnDefinition = "datetime COMMENT '阶段实际开始时间' ")
    private Date stageStartTime;

    @Column(name = "StageEndTime", columnDefinition = "datetime COMMENT '阶段实际结束时间' ")
    private Date stageEndTime;

    @Column(name = "StagePlanStartTime", columnDefinition = "datetime COMMENT '阶段计划开始时间' ")
    private Date stagePlanStartTime;
    @Column(name = "StagePlanEndTime", columnDefinition = "datetime COMMENT '阶段计划结束时间' ")
    private Date stagePlanEndTime;

    @Column(name = "StageDuration",columnDefinition = "int COMMENT '阶段计划工时'")
    private Integer StageDuration;


}
